package com.bulk.list;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 散装java
 * @date 2022-10-27
 */
public class ExtendsDemo {
    private int id;

    @Data
    public static class DemoInner {

        private List<? extends DemoInner> list = new ArrayList<>();
    }
}

class c2 extends ExtendsDemo.DemoInner {

}

class c3{
    public static void main(String[] args) {

    }
}
